﻿using IntelligentAgriculture.Contracts.Dto.Output;
using IntelligentAgriculture.Domain.Entity;
using MediatR;

namespace IntelligentAgriculture.WebAPI.Application.Command.SheepAblactationCommand
{
    public class GetBuildByEarCommand:IRequest<Results<List<Sheepfilemodel>>>
    {
        public string? earTagNumber { get; set; }
        /// <summary>
        /// 构造函数初始化参数
        /// </summary>
        /// <param name="earTagNumber"></param>
        public GetBuildByEarCommand(string? earTagNumber)
        {
            this.earTagNumber = earTagNumber;
        }
    }
}
